/**
 * Copyright 2014-2020  the original author or authors.
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.upb.webserver.common.enums;

/**
 * role type of account.
 */
public enum RoleTypeEnum {
    DEVELOPER_MASTER("developerMaster", "开发者主帐号"),
    DEVELOPER_GENERAL("developerGeneral", "普通开发者"),
    DEVOPS_ADMIN("devopsAdmin", "运维管理平台管理员"),
    DEVOPS_GENERAL("devopsGeneral", "运维管理平台普通用户"),
    AUDITOR_ADMIN("auditorAdmin", "监管管理平台管理员"),
    AUDITOR_GENERAL("auditorGeneral", "监管管理平台普通用户"),
    API_MANAGER("apiManager", "API渠道管理员");


    private String name;
    private String nameZh;

    RoleTypeEnum(String name, String nameZh) {
        this.name = name;
        this.nameZh = nameZh;
    }

    public String getName() {
        return this.name;
    }


}



